
<?php
use yii\helpers\Url;
?>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
		<meta content="yes" name="apple-mobile-web-app-capable" />
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection" />
		<meta content="emai=no" name="format-detection" />
		<link rel="stylesheet" type="text/css" href="<?php echo STATIC_HOST;?>gene/css/common.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo STATIC_HOST;?>gene/css/order.css" />
                <link rel="stylesheet" type="text/css" href="<?php echo STATIC_HOST;?>shared/css/shared.css" />
		<script type="text/javascript" src="<?php echo STATIC_HOST;?>shared/js/zepto-1.1.6.js"></script>
		<title>芝士妈妈在线</title>
	</head>
	<body>
		<div class="wrapper">
			<h2 class="h-red">确 认 订 单</h2>
			<ul class="info">
				<li data-href="" class="flex-wrapper flex-align-center">
					<p>
						购买人
					</p>
					<p>
						设置手机号，即可享受芝士妈妈会员特权
					</p>
				</li>
				<li data-href="" class="flex-wrapper flex-align-center">
					<p>
						收货<br/>地址
					</p>
					<p>
						上海普陀区城区新城控股总部大楼B座<br ／> 庞强年 159******1991
					</p>
				</li>
			</ul>	
			<h2 class="h-blue">商 品 列 表</h2>
                        <form action="<?php echo \yii\helpers\Url::to(['shoporder/index']);?>" method="post">
				<div class="product flex-wrapper flex-align-center">
					<p>
						<span class="avatar">
							<img src="<?php echo STATIC_HOST;?>gene/img/avatar.jpg" alt=""/>
						</span>
					</p>
					<div class="flex-1">
						<p class="title"><?php echo $product['product_name']?></p>
						<p class="notice">（免运费商品）</p>
						<p class="price clear"><span class="s-left">X <?php echo $num;?></span>&yen; <?php echo number_format($product['product_price'] * $num, 2)?></p>
					</div>
				</div>
				<button class="btn btn-red" type="submit" onclick="form.submit();">付 款 预 约</button>
			</form>
		</div>
		<script type="text/javascript" src="<?php echo STATIC_HOST;?>shared/js/common.js"></script>
	</body>

</html>